/**
 * Created by damir.ismailov on 15/12/2014.
 */
package simple.controller {
	import com.samoiloff.framework.controller.AbstractController;

	import simple.view.SimpleView;

	public class SimpleController extends AbstractController {

		private var _click : SimpleRectangleClickController;
		private var _position : SimpleRectanglePositionController;

		public function SimpleController(view:SimpleView) {
			super(view);

			_click = new SimpleRectangleClickController(view);
			_position = new SimpleRectanglePositionController(view);


		}


		override public function destroy() : void {
			_click.destroy();
			_click = null;

			_position.destroy();
			_position = null;

			super.destroy();
		}
	}
}
